package com.platform.system.domain;

import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.platform.common.annotation.Excel;
import com.platform.common.core.domain.BaseEntity;

/**
 * 公益订单信息对象 pro_public_producpro_order
 *
 * @author platform
 * @date 2025-02-23
 */
@Schema(name = "公益订单信息对象", description = "")
public class ProPublicProducproOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(description = "主键ID", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long id;

    /**
     * 公益商品ID
     */
    @Excel(name = "公益商品ID")
    @Schema(description = "公益商品ID", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long publicProducproId;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    @Schema(description = "商品名称", implementation = String.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private String publicProducproName;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    @Schema(description = "商品图片", implementation = String.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private String publicProducproImg;

    /**
     * 数量
     */
    @Excel(name = "数量")
    @Schema(description = "数量", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long count;

    /**
     * 总积分
     */
    @Excel(name = "总积分")
    @Schema(description = "总积分", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long totalPoints;


    /**
     * 商品图片
     */
    @Excel(name = "地址")
    @Schema(description = "地址", implementation = String.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private String address;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    @Schema(description = "用户id", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long userId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setPublicProducproId(Long publicProducproId) {
        this.publicProducproId = publicProducproId;
    }

    public Long getPublicProducproId() {
        return publicProducproId;
    }

    public String getPublicProducproName() {
        return publicProducproName;
    }

    public void setPublicProducproName(String publicProducproName) {
        this.publicProducproName = publicProducproName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPublicProducproImg() {
        return publicProducproImg;
    }

    public void setPublicProducproImg(String publicProducproImg) {
        this.publicProducproImg = publicProducproImg;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getCount() {
        return count;
    }

    public void setTotalPoints(Long totalPoints) {
        this.totalPoints = totalPoints;
    }

    public Long getTotalPoints() {
        return totalPoints;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("publicProducproId", getPublicProducproId())
                .append("count", getCount())
                .append("totalPoints", getTotalPoints())
                .append("userId", getUserId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
